package com.zlq.iwork.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName="note")
public class Note {

	@DatabaseField(generatedId=true)
	private int id;
	@DatabaseField(columnName="date")
	private String date;// 日期
	@DatabaseField(columnName="note")
	private String note;// 日志内容
	@DatabaseField(columnName="userid")
	private String userid;// 用户id
	@DatabaseField(columnName="curDate")
	private long curDate;// 记录时间

	public Note() {
	
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public long getCurDate() {
		return curDate;
	}

	public void setCurDate(long curDate) {
		this.curDate = curDate;
	}

	@Override
	public String toString() {
		return "Note [id=" + id + ", date=" + date + ", note=" + note
				+ ", userid=" + userid + ", curDate=" + curDate + "]";
	}



}
